package com.example.cafe.work.service;

import com.example.cafe.work.dto.Result;
import com.example.cafe.work.model.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hua
 * @since 2024-09-16
 */
public interface UserService extends IService<User> {

    Result addUser(User user);

    Result select(String name, int page, int size);

    Result login(String userName, String password);
}
